#pragma once
#include <cstdint>
// using namespace std;

enum class conn_type : uint8_t
{
    listen = 1,
    client = 2
};

class conn
{
public:
    conn_type type;
    int fd;
    uint32_t serviceid;
};